<?xml version="1.0"?>

<st-source>
<time-stamp>From VisualWorks® NonCommercial, 7.6 of March 3, 2008 on April 8, 2009 at 1:30:27 pm</time-stamp>


<class>
<name>Policy</name>
<environment>SupplyChain</environment>
<super>Core.Object</super>
<private>false</private>
<indexed-type>none</indexed-type>
<inst-vars>inventory </inst-vars>
<class-inst-vars></class-inst-vars>
<imports></imports>
<category></category>
<attributes>
<package>SupplyChain</package>
</attributes>
</class>

<!-- -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -   -->


<methods>
<class-id>SupplyChain.Policy class</class-id> <category>instance creation</category>

<body package="SupplyChain" selector="new">new
	"Answer a newly created and initialized instance."

	^super new initialize</body>

<body package="SupplyChain" selector="withInventory:">withInventory: anInventory
	| policy |
	policy := Policy new.
	policy inventory: anInventory.
	^policy.</body>
</methods>

<!-- -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -   -->


<comment>
<class-id>SupplyChain.Policy</class-id>
<body>A sell policy

</body>
</comment>

<methods>
<class-id>SupplyChain.Policy</class-id> <category>initialize-release</category>

<body package="SupplyChain" selector="initialize">initialize
	"Initialize a newly created instance. This method must answer the receiver."

	" *** Replace this comment with the appropriate initialization code *** "
	^self</body>
</methods>

<methods>
<class-id>SupplyChain.Policy</class-id> <category>controlling</category>

<body package="SupplyChain" selector="determineSellItem:">determineSellItem: anSku
	"comment stating purpose of message"
	self subclassResponsibility</body>
</methods>

<methods>
<class-id>SupplyChain.Policy</class-id> <category>accessing</category>

<body package="SupplyChain" selector="inventory">inventory
	^inventory</body>

<body package="SupplyChain" selector="inventory:">inventory: anObject
	inventory := anObject</body>
</methods>

</st-source>
